<html>
    <head>
        <title>iPET</title>
		<meta name="layout" content="index" />
    </head>
    <body>
    <div id="out">
     <div id="login">
        <g:if test="${flash.message}">
          <div class="message">${flash.message}</div>
        </g:if>
        
        <g:form action="doIt" controller="auth" class="login">
          <table>
            <tbody>
				<tr>
				  <td><label for="username">Usuário:</label></td>
				  <td class="max"><input type="text" name="username" value="${username}" /></td>
				</tr>
				<tr>
				  <td><label for="password">Senha:</label></td>
				  <td class="max"><input type="password" name="password" value="" /></td>
				</tr>
            </tbody>
          </table>
		  <div class="submit"">
			<input type="submit" value="Entrar" />
		  </div>
        </g:form>
	 </div>
    </div>
    </body>
</html>